package cn.saddyfire.pattern.builder.demo1;

/**
 * @author Dee
 * @date 2024/1/23
 * <p>Description: ofo单车构建者,用来构建ofo单车
 */
public class OfoBuilder extends Builder{

    @Override
    public void buildFrame() {
        bike.setFrame("铝合金");
    }

    @Override
    public void buildSeat() {
        bike.setSeat("橡胶车座");
    }

    @Override
    public Bike createBike() {
        return bike;
    }
}
